home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.19981211-19990422
/
000441_news@watsun.cc.columbia.edu _Thu Apr 15 21:28:30 1999.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
2KB
Return-Path: <news@watsun.cc.columbia.edu>
Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.59.30])
by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id VAA11687
for <kermit.misc@watsun.cc.columbia.edu>; Thu, 15 Apr 1999 21:28:30 -0400 (EDT)
Received: (from news@localhost)
by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id VAA14724
for kermit.misc@watsun.cc.columbia.edu; Thu, 15 Apr 1999 21:03:20 -0400 (EDT)
X-Authentication-Warning: newsmaster.cc.columbia.edu: news set sender to <news> using -f
From: john_cosimano@my-dejanews.com
Subject: Re: Can kermit take its configuration from stdin? (Unix)
Date: Fri, 16 Apr 1999 00:37:45 GMT
Organization: Deja News - The Leader in Internet Discussion
Message-ID: <7f60oo$ihc$1@nnrp1.dejanews.com>
To: kermit.misc@watsun.cc.columbia.edu
In article <7f5gkv$r1o$1@newsmaster.cc.columbia.edu>,
fdc@watsun.cc.columbia.edu (Frank da Cruz) wrote:
> In article <7f5f9b$2vp$1@nnrp1.dejanews.com>,
> <john_cosimano@my-dejanews.com> wrote:
> : I am trying to figure out if there is a way to have kermit take its
> : configration file from stdin.
> No. Why not just pass the device name on the command line? Example:
>
> kermit -l /dev/ttyS0
>
> Or in a shell script:
>
> kermit -l $1
Yeah, that's what I'm doing now. I have a bunch of configuration files, and I
wrote my wrapper script so that kermit gets called like: `kermit -y
/usr/lib/kermit/configs/some_config_file`. The problem I was looking to solve
is that if I want to make a change to the configuration files, I now have 256
files on which to make the change. I figured if I could make kermit get it's
configuration from stdin, I would only have one file...
Oh, well, there is more than one way to skin a cat. Thanks for following up.
--John
-----------== Posted via Deja News, The Discussion Network ==----------
http://www.dejanews.com/ Search, Read, Discuss, or Start Your Own